package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户信息对象 user_info
 * 
 * @author ruoyi
 * @date 2021-11-30
 */
public class UserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户编号 */
    private Long userId;

    /** 用户状态 */
    @Excel(name = "用户状态")
    private String userType;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 硬币 */
    @Excel(name = "硬币")
    private Long coin;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String userPicture;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 简介 */
    @Excel(name = "简介")
    private String userSum;

    /** 是否为主播 */
    @Excel(name = "是否为主播")
    private String isLive;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 是否推荐 */
    @Excel(name = "是否推荐")
    private String isRecomend;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserType(String userType) 
    {
        this.userType = userType;
    }

    public String getUserType() 
    {
        return userType;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setCoin(Long coin) 
    {
        this.coin = coin;
    }

    public Long getCoin() 
    {
        return coin;
    }
    public void setUserPicture(String userPicture) 
    {
        this.userPicture = userPicture;
    }

    public String getUserPicture() 
    {
        return userPicture;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setUserSum(String userSum) 
    {
        this.userSum = userSum;
    }

    public String getUserSum() 
    {
        return userSum;
    }
    public void setIsLive(String isLive) 
    {
        this.isLive = isLive;
    }

    public String getIsLive() 
    {
        return isLive;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setIsRecomend(String isRecomend) 
    {
        this.isRecomend = isRecomend;
    }

    public String getIsRecomend() 
    {
        return isRecomend;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userType", getUserType())
            .append("userName", getUserName())
            .append("coin", getCoin())
            .append("userPicture", getUserPicture())
            .append("phone", getPhone())
            .append("password", getPassword())
            .append("userSum", getUserSum())
            .append("isLive", getIsLive())
            .append("memo", getMemo())
            .append("isRecomend", getIsRecomend())
            .toString();
    }
}
